import { Notify } from "vant";
function getNetwork () {
    wx.onNetworkStatusChange(function (res) {
        if(res.networkType == 'none') {
            Notify({ type: "warning", message: '当前网络不可用' });
        }
    })
}

export default getNetwork